<?php
/*
 * @ https://EasyToYou.eu - IonCube v11 Decoder Online
 * @ PHP 7.2 & 7.3
 * @ Decoder version: 1.1.6
 * @ Release: 10/08/2022
 */

// Decoded file for php version 71.
include_once dirname(__FILE__) . "/../../AdapaySdk/init.php";
include_once dirname(__FILE__) . "/../config.php";
$payment = new AdaPaySdk\Payment();
$payment_params = ["payment_id" => "002112019101517084010030107738472407040", "reason" => "关单描述", "expend" => "{\"key\": \"1233\"}"];
$payment->close($payment_params);
if($payment->isError()) {
    var_dump($payment->result);
} else {
    var_dump($payment->result);
}

?>